#include "qtwidgetsapplication1.h"

QtWidgetsApplication1::QtWidgetsApplication1(QWidget* parent)
  : QMainWindow(parent)
  , m_dockTree(nullptr)
  , m_dock(nullptr)
{
  m_dockTree = new QTreeWidget;
  m_dock = new QDockWidget;
  m_dock->setWidget(m_dockTree);
  addDockWidget(Qt::LeftDockWidgetArea, m_dock);

  setWindowTitle("png2any");
  setCentralWidget(&m_widget);
  resize(600, 300);
}

QtWidgetsApplication1::~QtWidgetsApplication1()
{}
